//
//  LZUserOperationPresenter.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/11/22.
//  Copyright © 2016年 XBN. All rights reserved.
//





//***********************
//==========用户操作相关 收藏,点赞, 保存待评论,评论视频或者餐厅======
//***********************


#import <Foundation/Foundation.h>

@interface LZUserOperationPresenter : NSObject

#pragma mark -
#pragma mark 收藏or取消收藏 餐厅 or 视频
/**
 收藏,或者取消收藏 视频或者餐厅
 
 @param sellerId 商户id
 @param promotionId 优惠id
 @param favoriteType 收藏类型 0 餐厅     1 视频
 @param operationType 操作类型  1 收藏   0 取消收藏
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)collectOrCancelCollectVideoOrRestaurantWithSellerID:(NSString *)sellerId PromotionID:(NSString *)promotionId FavoriteType:(NSString *)favoriteType OperationType:(NSString *)operationType ResultSuccess:(void(^)(NSInteger totleCount, NSInteger operationType))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;


#pragma mark -
#pragma mark 点赞视频或者餐厅
/**
 点赞
 
 @param sellerId 商户id
 @param promotionId 优惠id
 @param type 0 餐厅   1 视频
 @param operationType 1 点赞   0取消点赞
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)zanOrCancelZanVideoOrRestaurantWithSellerID:(NSString *)sellerId PromotionID:(NSString *)promotionId Type:(NSString *)type OperationType:(NSString *)operationType ResultSuccess:(void(^)(NSInteger totleCount, NSInteger operationType))successBlock ResultFailed:(void(^)(NSString *remind))failedBlock;




#pragma mark -
#pragma mark 保存点评  餐厅 or 视频
/**
 保存餐厅评论
 
 @param parameters 自定义数据字典
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)saveRestaurantCommentWithParameters:(NSMutableDictionary*)parameters ResultSuccess:(void (^)(void))successBlock ResultFailed:(void (^)(NSString *remind))failedBlock;

/**
 保存视频评论
 
 @param parameters 自定义数据字典
 @param successBlock <#successBlock description#>
 @param failedBlock <#failedBlock description#>
 */
+ (void)saveVideoCommentWithParameters:(NSMutableDictionary*)parameters ResultSuccess:(void (^)(void))successBlock ResultFailed:(void (^)(NSString *remind))failedBlock;


@end
